<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>晒羊毛-撸羊毛有风险，投资需谨慎</title>
	<link rel="stylesheet" type="text/css" href="<%=path%>/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="<%=path%>/css/style.min.css">
	<link rel="stylesheet" type="text/css" href="<%=path%>/css/sym.css">
	<script type="text/javascript" src="<%=path%>/js/jquery.min.js"></script>
	<script type="text/javascript" src="<%=path%>/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="<%=path%>/js/layer/layer.js"></script>
	<script type="text/javascript" src="<%=path%>/js/common.js"></script>
<body class="gray-bg">
<jsp:include page="/views/commons/header.jsp"></jsp:include>
<div class="layout">
	<div class="hbox mb20">
		<div class="hd">
			<h3>选羊毛 <span class="f12 c_999 ml10" style="font-weight:normal; font-weight:700; font-size:14px;">所有活动均由用户上传，晒羊毛不对信息真实性做任何保证或审核</span></h3>
		</div>
		<div class="bd clearfix">
			<form id="activity_choose_form" action="javascript:void(0)">
			<div class="filter-wrap">
				<d:radio describe="投资金额:" tableColumn="invest_money_range" fieldName="investMoneyRange" value="${activity.investMoneyRange}" type="query"></d:radio>
				<d:radio describe="活动奖励:" tableColumn="reward_range" fieldName="rewardRange" value="${activity.rewardRange}" type="query"></d:radio>
				<d:radio describe="投资期限:" tableColumn="period_range" fieldName="periodRange" value="${activity.periodRange}" type="query"></d:radio>
				<d:radio describe="平台背景:" tableColumn="platform_background" fieldName="platformBackground" value="${activity.platformBackground}" type="query"></d:radio>
				<d:radio describe="运营时间:" tableColumn="operation_time_range" fieldName="operationTimeRange" value="${activity.operationTimeRange}" type="query"></d:radio>				
			</div>
			</form>
			<div class="text-center pb20">
				<button class="btn btn-primary" id="activity_list_btn" onclick="javascript:queryActivityList(1)">搜索</button>					
			</div>
		</div>
	</div>
	<div id="activity_list_div"></div>
</div>
<jsp:include page="/views/commons/footer.jsp"></jsp:include>
</body>
<script type="text/javascript">
$(document).ready(function(){
	queryActivityList(1);
});

function queryActivityList(pageNo){
	
	var queryData=$("#activity_choose_form").serialize();
	
	if(queryData==null||queryData==""){
		queryData="pageNo="+pageNo;
	}else{
		queryData=queryData+"&pageNo="+pageNo;
	}
	
	$.ajax({
		url : path + "/uncheck/activity/list",
		type : "get",
		dataType : "html",
		data :queryData,
		success : function(data)
		{
			$("#activity_list_div").html(data);
		},error:function(){
			layer.msg("服务器网络繁忙",{icon: 2});
		}
	});
}
</script>
</html>